// import 导入的意思，引入common.less
@import "common";
body{
    min-width: 320px;
    width: 15rem;
    margin: 0 auto;
    line-height: 1.5;
    font-family: Arial, Helvetica;
    background-color: #f2f2f2;
}
header{
    display: flex;
    width: 15rem;
    height: 88rem / 50;
    background-color: #FFC001;
    position: fixed;
    top: 0;
    .classify{
        width: 44rem / 50;
        height: 70rem / 50;
        margin: 11rem / 50 25rem /50 7rem / 50 24rem /50;
        background: url('../images/classify.png') no-repeat;
        background-size: 44rem / 50 70rem / 50;
    }
    .search{
        flex: 1;
        input{
            outline: none;
            box-sizing: border-box;
            border: 0;
            width: 100%;
            height: 66rem / 50;
            border-radius: 33rem / 50;
            background-color: #fff2cc;
            margin-top: 12rem / 50;
            padding-left: 55rem / 50;
            font-size: 25rem / 50;
        }
    }
    .login{
        width: 75rem / 50;
        height: 70rem / 50;
        margin: 10rem / 50;
        font-size: 25rem / 50;
        text-align: center;
        color: #fff;
        line-height:70rem / 50 ;
    }
}
.banner{
    width: 750rem / 50;
    height: 368rem / 50;
    img{
        width: 100%;
    }
}
.ad{
    display: flex;
    a{
        flex: 1;
        img{
            width: 100%;
        }
    }
}
nav{
    width: 750rem / 50;
    a{
        width: 150rem / 50;
        height: 140rem / 50;
        float: left;
        img{
            display: block;
            width: 82rem / 50;
            height: 82rem / 50;
            margin: 10rem / 50 auto 0;
        }
        p{
            font-size: 25rem / 50;
            text-align: center;
            color: #333333;
        }
    }
}